#ifndef SYSTEMMESSAGE_H_
#define SYSTEMMESSAGE_H_

#include "Message.h"
#include <string>
using namespace std;


class SystemMessage : public Message
{
public:
	int origin;
	int destination;
	string content;
	int steps;

	SystemMessage(int source, int target,string msg);
	//SystemMessage(int source, int target, int dest, string msg, int steps);
	SystemMessage(SystemMessage* s, int nextHop);

	virtual ~SystemMessage();
	//string toString();
	MessageType msgType();
	SystemMessage* next(int target);
};

ostream& operator<< ( std::ostream& output, const SystemMessage& t);

#endif /*SYSTEMMESSAGE_H_*/
